package cn.dfiy.demo.test;

import cn.dfiy.demo.entity.ThiefProwentDoor;

public class Demo {
    public static void main(String[] args) {
        ThiefProwentDoor thiefProwentDoor = new ThiefProwentDoor();
        System.out.println("上班");
        thiefProwentDoor.open();
        thiefProwentDoor.close();
        thiefProwentDoor.lock();
        System.out.println("下班回家");
        thiefProwentDoor.unlock();
        thiefProwentDoor.take();
        thiefProwentDoor.open();
        thiefProwentDoor.close();
    }
}
